package miage.rest.model;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Lou
 */
public class VersionDiplome implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer idVersionDiplome;
    private Date dateEffet;
    private String presentation;
    private String libelle;
    private String prerequis;
    private String niveauScolaire;
    private String structure;
    private String visible;
    private int idDiplome;
    private String descriptif;
    private String descriptifBref;
    private String sessionPresentiel;
    private String sessionDistance;
    private String inscriptionHaut;
    private String inscriptionBas;

    public VersionDiplome() {
    }

    public VersionDiplome(Integer idVersionDiplome) {
        this.idVersionDiplome = idVersionDiplome;
    }

    public VersionDiplome(Integer idVersionDiplome, Date dateEffet, String presentation, String libelle, String prerequis, String niveauScolaire, String structure, String visible, int idDiplome, String descriptif, String descriptifBref, String sessionPresentiel, String sessionDistance, String inscriptionHaut, String inscriptionBas) {
        this.idVersionDiplome = idVersionDiplome;
        this.dateEffet = dateEffet;
        this.presentation = presentation;
        this.libelle = libelle;
        this.prerequis = prerequis;
        this.niveauScolaire = niveauScolaire;
        this.structure = structure;
        this.visible = visible;
        this.idDiplome = idDiplome;
        this.descriptif = descriptif;
        this.descriptifBref = descriptifBref;
        this.sessionPresentiel = sessionPresentiel;
        this.sessionDistance = sessionDistance;
        this.inscriptionHaut = inscriptionHaut;
        this.inscriptionBas = inscriptionBas;
    }

    public Integer getIdVersionDiplome() {
        return idVersionDiplome;
    }

    public void setIdVersionDiplome(Integer idVersionDiplome) {
        this.idVersionDiplome = idVersionDiplome;
    }

    public Date getDateEffet() {
        return dateEffet;
    }

    public void setDateEffet(Date dateEffet) {
        this.dateEffet = dateEffet;
    }

    public String getPresentation() {
        return presentation;
    }

    public void setPresentation(String presentation) {
        this.presentation = presentation;
    }

    public String getLibelle() {
        return libelle;
    }

    public void setLibelle(String libelle) {
        this.libelle = libelle;
    }

    public String getPrerequis() {
        return prerequis;
    }

    public void setPrerequis(String prerequis) {
        this.prerequis = prerequis;
    }

    public String getNiveauScolaire() {
        return niveauScolaire;
    }

    public void setNiveauScolaire(String niveauScolaire) {
        this.niveauScolaire = niveauScolaire;
    }

    public String getStructure() {
        return structure;
    }

    public void setStructure(String structure) {
        this.structure = structure;
    }

    public String getVisible() {
        return visible;
    }

    public void setVisible(String visible) {
        this.visible = visible;
    }

    public int getIdDiplome() {
        return idDiplome;
    }

    public void setIdDiplome(int idDiplome) {
        this.idDiplome = idDiplome;
    }

    public String getDescriptif() {
        return descriptif;
    }

    public void setDescriptif(String descriptif) {
        this.descriptif = descriptif;
    }

    public String getDescriptifBref() {
        return descriptifBref;
    }

    public void setDescriptifBref(String descriptifBref) {
        this.descriptifBref = descriptifBref;
    }

    public String getSessionPresentiel() {
        return sessionPresentiel;
    }

    public void setSessionPresentiel(String sessionPresentiel) {
        this.sessionPresentiel = sessionPresentiel;
    }

    public String getSessionDistance() {
        return sessionDistance;
    }

    public void setSessionDistance(String sessionDistance) {
        this.sessionDistance = sessionDistance;
    }

    public String getInscriptionHaut() {
        return inscriptionHaut;
    }

    public void setInscriptionHaut(String inscriptionHaut) {
        this.inscriptionHaut = inscriptionHaut;
    }

    public String getInscriptionBas() {
        return inscriptionBas;
    }

    public void setInscriptionBas(String inscriptionBas) {
        this.inscriptionBas = inscriptionBas;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idVersionDiplome != null ? idVersionDiplome.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof VersionDiplome)) {
            return false;
        }
        VersionDiplome other = (VersionDiplome) object;
        if ((this.idVersionDiplome == null && other.idVersionDiplome != null) || (this.idVersionDiplome != null && !this.idVersionDiplome.equals(other.idVersionDiplome))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "miage.rest.model.VersionDiplome[idVersionDiplome=" + idVersionDiplome + "]";
    }

}
